#
# Be sure to run `pod lib lint LGNetwork.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'LGNetwork'
  s.version          = '0.1.0'
  s.summary          = 'A short description of LGNetwork.'

  s.homepage         = 'http://172.16.8.12/LegoProject/BaseModule4iOS/LGNetwork'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'nick' => 'nick@itcom888.com' }
  s.source           = { :git => 'http://172.16.8.12/LegoProject/BaseModule4iOS/LGNetwork.git', :tag => s.version.to_s }
  
  s.ios.deployment_target = '9.0'
  
  s.requires_arc = true
  s.frameworks = 'UIKit', 'Foundation'
  s.public_header_files = 'LGNetwork/Classes/LGNetworking.h'
  s.source_files = 'LGNetwork/Classes/LGNetworking.h'

  # 基础网络服务
  s.subspec 'Networking' do |networking|
    networking.source_files = 'LGNetwork/Classes/**/*.{h,m}'
    networking.dependency 'AFNetworking', '~> 3.2.1'
    networking.dependency 'YYModel', '~> 1.0.4'
  end
  
end
